package com.itsci.assignment2;

public class TravleBean {
	private int id;
	private String name;
	private int price ;
	private String des;
	public TravleBean(){};
	public TravleBean(int id,String name,int p,String des){
		this.id = id;
		this.name = name;
		this.price = p;
		this.des = des;
	}
	public TravleBean(String name,int p,String des){
		this.name = name;
		this.price = p;
		this.des = des;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getdes() {
		return des;
	}
	public void setdes(String des) {
		this.des = des;
	}
	
}
